package org.whl.airapi.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.whl.airapi.util.annotation.RowKeyAnnotation;
import org.whl.airapi.util.annotation.FieldAnnotation;

/**
 * @author 王浩霖
 * @version 1.0.0 2024/12/26 9:53
 */
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
@TableName("whl_tem_air")
public class AirPollution {
    @TableId(type = IdType.NONE)
    @RowKeyAnnotation
    @FieldAnnotation(alias = "温度")
    private String Temperature;
    @FieldAnnotation(alias = "温和")
    private long Moderate;
    @FieldAnnotation(alias = "好")
    private long Good;
    @FieldAnnotation(alias = "恶劣")
    private long Hazardous;
    @FieldAnnotation(alias = "较差")
    private long Poor;
}
